import { useNavigate } from "react-router-dom";
import React, { useState, useEffect } from 'react';

// export const Linkto = (val) => {
//     const navigate = useNavigate()
//     useEffect(() => {
//         console.log('yyyyyyyyyyyy', val)
//         navigate(val)
//     }, [])

// }
